<form class="layui-form layui-form-pane" action="{:url('')}" id="editForm" method="post">
    <div class="layui-form-item">
        <label class="layui-form-label">标题</label>
        <div class="layui-input-inline">
            <input type="text" class="layui-input field-title" name="title" lay-verify="required" autocomplete="off" placeholder="请输入标题">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">内容</label>
        <div class="layui-input-block">
            <textarea name="content" class="layui-textarea field-content" lay-verify="required" placeholder="请输入通知内容"></textarea>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">状 态</label>
        <div class="layui-input-inline">
            <input type="radio" class="field-status" name="status" value="1" checked title="显示">
            <input type="radio" class="field-status" name="status" value="0" title="关闭">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <input type="hidden" class="field-id" name="id">
            <button type="submit" class="layui-btn layui-btn-normal" lay-submit="" lay-filter="formSubmit">提交</button>
            <a href="{:url('index')}" class="layui-btn layui-btn-primary ml10"><i class="aicon ai-fanhui"></i>返回</a>
        </div>
    </div>
</form>
{include file="admin@block/layui" /}

<script>
/* 修改模式下需要将数据放入此变量 */
var formData = {:json_encode($data_info)};
</script>
<script src="__ADMIN_JS__/footer.js"></script>